/*  BlogBot.java Version 101 - 3rd April 2008
 *  BlogBot.java is the main class
 *  See Versions for program version number
 *  Copyright (C) 2008  Andy Broomfield andy@newmediathinking.com
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
*/

package net.blogbotplatform.blogbot;

public class BlogBot {
	BlogBotFrame blogBotFrame;
	boolean packFrame = true;
	
	public BlogBot() {
		blogBotFrame = new BlogBotFrame();

		//Validate frames that have preset sizes
		//Pack frames that have useful preferred size info, e.g. from their layout
		if (packFrame) {
			blogBotFrame.pack();
		} else {
			blogBotFrame.validate();
		}
		
		blogBotFrame.show();
	}

	public static void main(String[] args) {
		System.setProperty("apple.laf.useScreenMenuBar", "true");
		System.setProperty("com.apple.mrj.application.apple.menu.about.name", "Blog Bot");
		//UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		new BlogBot();
		
		System.out.println("BlogBot Running.");
		//System.setProperty("apple.awt.antialiasing", "on");
	}
}